* {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #666;
}
.box {
  width: 800px;
  height: 600px;
  margin: 20px auto;
  border: 1px solid #ccc;
  display: flex;
  user-select: none;
}
.box .left {
  flex: 3;
  background: #000;
  overflow-y: auto;
  
}
.box .left  h2 {
  color: deepskyblue;
  text-align: center;
  background: #666;
  padding: 10px;
}
.box .left a {
  display: block;
  color: #fff;
  padding-left: 10px;
  font:bold 20px/40px '宋体';
}
.box .left li + li {
  border-top: 1px dashed skyblue;
}
.box .left li:hover {
  background: deepskyblue;
}
.box .left li.active {
  background: deepskyblue;
}
.box .right {
  flex: 7;
}
.box .right .item h2 {
  padding:10px;
  padding-left: 30px;
  border-bottom: 1px solid #ccc;
  color: #666;
}
.box .right .item .talk {
  height: 400px;
  border-bottom: 1px solid #ccc;
}
.box .right .item input {
  display: none;
}
.box .right .item .photo {
  border: 1px solid #666;
  display: inline-block;
  padding: 5px;
  border-radius: 15px;
  margin: 10px;
}
.send {
  float: right;
  border: 1px solid #ccc;
  background: #ddd;
  padding:2px 15px;
  margin-right: 5px;
  margin-bottom: 5px;
}
.send:hover {
  background: deepskyblue;
  color:#fff;
}
textarea {
  display: block;
  width: 100%;
  padding-left: 15px;
  padding-right: 100px;
  resize: none;
  border: none;
  height: 60px;
  box-sizing: border-box;
  font-size: 18px;
  outline: none;
}
.talk {
  background: #eee;
  overflow-y: auto;
}
.talk .other {
 padding: 10px;
}
.talk .other .name{
  text-align: left;
  margin-left: 15px;
  border-bottom: 1px solid #ccc;
  color:#444;
  font:bold 18px/20px '宋体';
}
.talk .other .content {
  max-width: 300px;
  background: #fff;
  margin:5px 16px;
  padding: 10px;
}
.talk .content img {
  max-width: 250px;
}
.talk .own {
  text-align: right;
  padding-right: 15px;
}
.talk .own::after {
  display: block;
  content: '';
  clear: both;
}
.talk .own .name {
  text-align: right;
  font:bold 18px/20px '宋体';
  display: block;
  margin:5px 0;
  color:#444;
}
.talk .own .content {
  margin-right: 0;
  max-width: 300px;
  float: right;
  background: greenyellow;
  padding: 10px;
} 
.open {
  font:bold 50px/400px '幼圆';
  text-align: center;
  color: #ccc;
}
.item {
  display: none;
  
}
.tip {
  position: fixed;
  bottom: 0;
  right: 0;
  background: deepskyblue;
  width: 200px;
  height: 100px;
  text-align: center;
  font:bold 14px/100px '宋体';
  color:red;

  
}